package org.spring.springboot.app.adv.advexam.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.spring.springboot.app.base.BaseEntity;

import java.io.Serializable;
import java.util.Date;

public class AdvExamQueryVO implements Serializable {
    private static final long serialVersionUID = -1L;
    @ApiModelProperty(value = "id", hidden = false)
    private String id;
    @ApiModelProperty(value = "广告id", hidden = false)
    private String advId;
    @ApiModelProperty(value = "审核状态 0 临时 1待审核 2通过 3拒绝", hidden = false)
    private Integer state;
    @ApiModelProperty(value = "审核时间", hidden = false)
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date dealDate;
    @ApiModelProperty(value = "机构id", hidden = false)
    private String officeId;

    @ApiModelProperty(value = "创建时间", hidden = false)
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    @ApiModelProperty(value = "备注", hidden = false)
    private String remarks;

    //以下是广告内容
    @ApiModelProperty(value = "广告类型 1.手机屏保广告  2.手机分类广告 3.广告机广告 4.家庭锁广告", hidden = false)
    private Integer type;
    @ApiModelProperty(value = "是否系统广告", hidden = false)
    private Integer isSystem;
    @ApiModelProperty(value = "标题", hidden = false)
    private String title;
    @ApiModelProperty(value = "图片", hidden = false)
    private String photos;
    @ApiModelProperty(value = "内容", hidden = false)
    private String content;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getAdvId() {
        return advId;
    }

    public void setAdvId(String advId) {
        this.advId = advId == null ? null : advId.trim();
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getDealDate() {
        return dealDate;
    }

    public void setDealDate(Date dealDate) {
        this.dealDate = dealDate;
    }

    public String getOfficeId() {
        return officeId;
    }

    public void setOfficeId(String officeId) {
        this.officeId = officeId == null ? null : officeId.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks == null ? null : remarks.trim();
    }


    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getIsSystem() {
        return isSystem;
    }

    public void setIsSystem(Integer isSystem) {
        this.isSystem = isSystem;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getPhotos() {
        return photos;
    }

    public void setPhotos(String photos) {
        this.photos = photos == null ? null : photos.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }
}